import Vue from 'vue'
import Vuex from 'vuex'


// 引入状态模块
import users from './modules/users.js';
import students from './modules/students.js';
import classes from './modules/classes.js';
import subjects from './modules/subjects.js';
import courses from './modules/courses.js';

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    users,
    students,
    classes,
    subjects,
    courses,
  }
})
